package com.hxgz.steel.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("公司认证对象模型")
@Data
public class CompanyCert {

  private Long id;

  @ApiModelProperty("用户id")
  private Long userId;

  @ApiModelProperty(value = "企业法人",required = true)
  private String legalPerson;

  @ApiModelProperty(value ="手机号",required = true)
  private String phone;

  @ApiModelProperty(value ="公司名称",required = true)
  private String companyName;

  @ApiModelProperty(value ="公司电话",required = true)
  private String companyPhone;

  @ApiModelProperty(value ="公司地址 ",required = true)
  private String address;

  @ApiModelProperty(value ="详细地址",required = true)
  private String addressInfo;

  @ApiModelProperty(value ="税号",required = true)
  private String dutyNum;

  @ApiModelProperty(value ="企业认证授权书url",required = true)
  private String authorization;

  @ApiModelProperty(value ="开户许可证url",required = true)
  private String licence;

  @ApiModelProperty(value ="营业执照url",required = true)
  private String permit;

  @ApiModelProperty("审核状态 0待审核 1审核未通过 2审核已通过")
  private Integer status;

  @ApiModelProperty("认证时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private String authenticationTime;

  @ApiModelProperty("创建时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private String createTime;

  @ApiModelProperty("修改时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private String updateTime;

}